package com.aikg.kgrag_java.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName knowledgedb
 */
@TableName(value ="knowledgedb")
@Data
public class Knowledgedb implements Serializable {
    /**
     * 知识库的id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 项目的id
     */
    @TableField(value = "project_id")
    private Integer projectId;

    /**
     * 知识库名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 知识库的绝对路径
     */
    @TableField(value = "absolute_path")
    private String absolutePath;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}